package com.bamboo.tool.template.export.enums;

import lombok.Getter;

@Getter
public enum ExportModel {

    SINGLE_METHOD("single_method", "单个方法一个文件"),
    SINGLE_DIRECTORY("single_directory", "单个文件夹一个文件"),
    PROJECT_DIRECTORY("project_directory", "项目下一个文件夹"),
    ALL_METHOD("all_method", "所有接口一个文件"),
    ;

    private final String code;
    private final String desc;

    ExportModel(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }



    @Override
    public String toString() {
        return desc;
    }
}
